<div id="pad-wrapper" class="new-user">
	<div class="row-fluid header">
		<h3>社团活动编辑</h3>
	</div>
	<div class="row-fluid form-wrapper">
		<!-- left column -->
		<div class="span9 with-sidebar">
			<div class="container">
				<form class="new_user_form" action="/organization-activity/save?organization_id=<?php echo $organization_id?>" method="post" id="dataForm" enctype="multipart/form-data">
					<input type="hidden" name="id" value="<?php echo $row['activity_id']?>">				
					<div class="span1 field-box">
					</div>
					
					<div class="span12 field-box">
						<label>社团活动名称:</label> 
						<input class="span9" type="text" name="activity_name" value="<?php echo $row['activity_name']?>">
					</div>
					<div class="span12 field-box">
						<label>活动图片:</label> 
						<?php if($row['image']):?>
						<?php echo STATIC_IMAGE . $row['image'];?>
						<?php endif;?>
						<input class="span9" type="file" name="image">
					</div>
					<div class="span12 field-box">
						<label>活动时间:</label>
						<input type="text" class="span9" name="activity_time" value="<?php echo $row['activity_time']?>"> 
					</div>
					<div class="span12 field-box">
						<label>活动描述</label> 
						<textarea class="span9" name="activity_desc"><?php echo $row['activity_desc']?></textarea>
					</div>
					<div class="span12 field-box">
						<label>活动超连接 </label> <input class="span9" type="text" name="link" value="<?php echo $row['link']?>">
					</div>
					<div class="span12 field-box">
						<label>状态:</label>
						<div class="ui-select span1">
							<select name="status">
								<option value="1" <?php if($row['status'] == 1) echo 'selected="selected"';?>>使用</option>
								<option value="2" <?php if($row['status'] == 2) echo 'selected="selected"';?>>禁用</option>
							</select>
						</div>
					</div>
					<div class="span12 field-box">
					</div>
					<div class="span12 field-box actions">
						<input type="submit" class="btn-glow primary" value="提交">
					</div>
				</form>
			</div>
		</div>
		<!-- side right column -->
		<div class="span3 form-sidebar pull-right">
		</div>
	</div>
</div>